package com.example.module_home.Module.CodeBank;

import br.tiagohm.markdownview.css.InternalStyleSheet;
import br.tiagohm.markdownview.css.styles.Bootstrap;
import br.tiagohm.markdownview.css.styles.Github;

/**
 * Created by 陈煜 on 2018/4/28.
 */

public class CodeRule extends Bootstrap {

//    private final InternalStyleSheet mStyle;

//    public CodeRule(){
//        mStyle = new Github();
//        addJavaRule();
//        ((Github) mStyle).addCodeRule(".token.keyword","color: #39c")
//                .addCodeRule(".token.function","color: #eeaa00")
//                .addCodeRule(".token.punctuation","color: #a67f59")
//                .addCodeRule(".token.operator","color: #eeaa00")
//                .addCodeRule(".token.comment","color: #43a943")
//                .addCodeRule(".token.string","color: #ffffff")
//                .addCodeRule(".token.number","color: #a67f59")
//                .addCodeRule(".token.class-name","color: white")
//                .addCodeRule(".token.tag","color: #a67f59")
//                .addCodeRule(".token.namespace","color: #ffffff")
//                .addCodeRule(".token.attr-name","color: #ffffff")
//                .addCodeRule(".token.attr-value","color: #39c")
//                .addCodeRule(".token.prolog","color: #43a943");

//    }
//    private void addJavaRule(){
//        mStyle.addRule(".language-java","padding: 1em","margin: .5em 0","overflow: auto",
//                "color: white","text-shadow: none","font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",
//                "direction: ltr","text-align: left","white-space: pre","word-spacing: normal","word-break: normal", "word-wrap: normal",
//                "tab-size: 4","hyphens: none");
//    }
//
//    private void addMarkUp(){
//        mStyle.addRule(".language-markup","");
//    }
}
